<?php
class CF_Storage_Directory extends CF_Storage_Array
{
	const TYPE_PATH			= 'PATH';
	const TYPE_TYPE			= 'TYPE';
	const TYPE_NAME			= 'NAME';
	const TYPE_BASENAME		= 'BASENAME';
	const TYPE_EXTENSION	= 'EXTENSION';
	const TYPE_SIZE			= 'SIZE';
	const TYPE_MODIFIED		= 'MODIFIED';
	const TYPE_PERMISSION	 = 'PERMISSION';
	
	protected $_infoRetrieve = array(
		CF_Storage_Directory::TYPE_PATH,
		CF_Storage_Directory::TYPE_TYPE,
		CF_Storage_Directory::TYPE_NAME,
		CF_Storage_Directory::TYPE_BASENAME,
		CF_Storage_Directory::TYPE_EXTENSION,
		CF_Storage_Directory::TYPE_SIZE,
		CF_Storage_Directory::TYPE_MODIFIED,
		CF_Storage_Directory::TYPE_PERMISSION
	);
	
	protected $_path;
	
	public function __construct($path, $readOnly = true)
	{
		$this->_path = $path;
		$this->_readOnly = $readOnly;
	}
	
	public function getInfoRetrieve()
	{
		
	}
	
	public function setInfoRetrieve()
	{
		
	}
	
	public function getItem()
	{
		
	}
	
	public function hasWritable()
	{
		
	}
}